import interfaceApi from '../api/urlListData.js';
import ajax from '../common/ajax.js';



$(function(){
    $(".btn").click(function(){
        var postData = {
            // username: '张三',
            // password: 123456
        };
        ajax({
            url: interfaceApi.Api.indexStudent,
            postData:postData,
            type:'GET',
            dataType:'json',
            timeout:5000,
            succCallback:function(res){  //成功
                console.log(res)
            },
            errorCallback:function (res) {
                console.log(res)
            }
        });
    });
});